<?php
require_once("config.php");
echo "foo<br>";

$db=new SQLite3($dbfilename);
$results=$db->query("SELECT * FROM item_t;");
$i=0;
while($res = $results->fetchArray(SQLITE3_ASSOC)){
	$item_id = $res['item_id'];
	$pfn = $res['pfn'];	 
	echo "<a href=\"show_all_properties.php?item_id=" . $item_id . "\">" . basename($pfn) . "</a> <br/>";	
}
echo "bar<br>";

$db->close();
